Procedure GotoDir(Number:Word); This moves Dir.Data to a specified directory element. It does not take you to the element with Number as its field. If GotoDir(1) is called, Dir.Data will point to the first item in the linked list, not necessarily the the item called '1'.